import request from '@/api/request.js'
import { formatGetUri } from '@/api/common.js'

const message = {}

message.onMessageReadSubmit = params => request.globalRequest(`/messenger/client/message/read`, 'POST', params, request.USER)
message.getMesageList = params => request.globalRequest(`/messenger/client/message/getList`, 'POST', params, request.USER)
message.getSubscribeList = params => request.globalRequest(`/messenger/client/message/getList`, 'POST', params, request.USER)

export default message